#!/bin/bash

# 启动FastAPI服务
nohup uvicorn main:app --reload --port 8001 > fastapi.log 2>&1 &

# 启动数据对齐服务
nohup bash src/data-alignment/run_alignment.sh > alignment.log 2>&1 &

# 显示访问信息
echo "项目已启动"
echo "FastAPI服务: http://127.0.0.1:8001/docs"
echo "数据对齐服务: 运行中"
echo "日志文件: fastapi.log, alignment.log"
